package com.zheng.mybatisx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zheng.mybatisx.pojo.User;
import com.zheng.mybatisx.service.UserService;
import com.zheng.mybatisx.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 *
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService{
    @Autowired
    private UserMapper userMapper;

    @Override
    public ArrayList<User> selectByMyself() {
        return userMapper.selectByMyself();
    }
}




